.logo {
  height: 48px;
  margin: 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.ant-layout {
  width: 100%;
  height: 100vh;
}

.ant-layout-sider {
  box-shadow: 2px 0 8px rgba(0, 21, 41, 0.15);
  z-index: 10;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
}

.ant-layout-header {
  background: #fff;
  padding: 0 24px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: fixed;
  top: 0;
  right: 0;
  left: 256px;
  z-index: 9;
}

.ant-layout-content {
  margin: 0;
  padding: 24px;
  background: #f0f2f5;
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  margin-left: 256px;
  width: calc(100% - 256px);
}

.ant-menu {
  font-size: 15px;
}

.ant-menu-item {
  height: 50px;
  line-height: 50px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 调整折叠按钮样式 */
.ant-layout-header .ant-btn {
  padding: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 侧边栏折叠时的样式 */
.ant-layout-sider-collapsed + .ant-layout .ant-layout-header {
  left: 80px;
}

.ant-layout-sider-collapsed + .ant-layout .ant-layout-content {
  margin-left: 80px;
  width: calc(100% - 80px);
}

/* 确保内容区域不会被遮挡 */
.ant-layout-has-sider {
  position: relative;
} 